<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'The last of my lineage',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/08.jpg" alt="Plants along the sidewalk" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		For breakfast, I had a protein shake.
		For lunch, I shredded a potato and baked it in soy milk.
		For dinner, I had 304 grams of a stew made from soy milk, the last of my celery, carrots, quinoa, corn, and dairy-free cheese.
		I also snacked on 229 grams of pretzels and 228 grams of mixed juice throughout the day.
	</p>
</section>
<section id="vasectomy">
	<h2>Post-vasectomy semen analysis</h2>
	<p>
		The results of my post-vasectomy semen analysis arrived in the mail today.
		That&apos;s eight days ahead of schedule, but I took the semen analysis a day late, so it balances out to seven days ahead of schedule.
	</p>
	<p>
		I&apos;m sterile.
		I&apos;m so relieved.
		No matter who I end up falling in love with, assuming I ever do, I won&apos;t have to worry about accidentally creating a new life that will one day die, or even worse, a new life that&apos;ll create new lives beyond that, then die, resulting in a chain reaction and waves upon waves of death.
		It&apos;s over.
		I&apos;m the last one in my lineage that has to die.
		I think I might buy a pair of skull rings soon to celebrate the death of my bloodline.
	</p>
	<p>
		Of course, &quot;soon&quot; is relative, and it&apos;ll probably be a while.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			You mention that employees can copy the database backups, and that encryption isn&apos;t effective because the employee copying the database has the key (or perhaps is working with a copy that was decrypted on-premises, using a key they have no way to bring off-site with them).
			What do you recommend doing to keep the confidential data from being copied?
			You can&apos;t simply have no backups, which is the obvious solution, as there&apos;s a chance the main copy of the data will be damaged and you&apos;ll need to restore from a backup.
		</p>
		<p>
			I strongly agree about sanitising your input.
			You mention malicious insertions into the database, but that&apos;s not even the only problem.
			I developed a Web-based system for a user I trusted once.
			Unintentionally, they added characters that broke things, not realising certain characters would cause problems.
			I&apos;d failed to sanitise the inputs because I trusted that the user wouldn&apos;t purposely break the software I&apos;d built, seeing as they were literally the only user, so breaking it wouldn&apos;t affect anyone but themself.
			Data-sanitation is more than just to prevent intentional malice.
			It also prevents accidents that shouldn&apos;t cause issues in the first place.
			(For example, in the case of the system I built, there really shouldn&apos;t be any forbidden characters, and sanitation prevents there from needing to be.)
		</p>
	</blockquote>
	<blockquote>
		<p>
			I agree, finding anything relevant using the assigned sites is a major pain.
			We could get better results, an quicker too, if we weren&apos;t restricted to using four sites, all of which have only search options that don&apos;t function very well.
		</p>
		<p>
			You make a good point about touchscreens.
			Typically, we consider monitors to be strictly output devices, but this simply isn&apos;t always the case.
			Some devices serve as both input devices and output devices.
		</p>
		<p>
			I haven&apos;t heard of an email seizing control of the monitor like that before.
			Regardless, it seems like an operating system bug, to me, or probably actually a bug in the email client.
			The email client really shouldn&apos;t be executing code found in an email.
			It should only display the emails.
			A similar problem was found in at least old copies of certain Microsoft products.
			For example, their word processor allowed the insertion of arbitrary code into documents, which would then be executed in the same writing program when used to view the documents.
			This allowed viruses to be embedded in word-processing documents, even though these documents should be safe, because they <strong>*shouldn&apos;t*</strong> be executed in any way.
			A virus that doesn&apos;t get run as software is a virus that is completely incapacitated.
		</p>
	</blockquote>
</section>
<section id="mobile">
	<h2>Upgrading the mobile</h2>
	<p>
		I finally got around to upgrading the mobile today.
		Now it&apos;s got a number of problems though.
		First, it&apos;s no longer capable of reading an $a[ext4] $a[SD] card.
		I&apos;ll have to experiment with $a[ext] through $a[ext3] later, but if none of them work, I&apos;m stuck with a format that doesn&apos;t allow proper file-naming, which will make transferring my music back onto it a bit of a headache.
		Secondly, there&apos;s a mysterious corrupted &quot;$a[SD] card&quot;.
		Android thinks the internal storage is an $a[SD] card though, and if this partition exist at all, it&apos;s on the internal storage of the device.
		The corrupted &quot;$a[SD] card&quot; won&apos;t function until partitioned, but when I tell the system to format it, it exits with an error.
		And without this internal storage, the camera won&apos;t function because it has nowhere to save the photographs to.
		(There&apos;s no configuration option to get it to save them to the actual $a[SD] card either, which is currently formatted to a filesystem it&apos;ll read from and write to.)
		I can&apos;t figure out how to get that fixed.
		And finally, the device won&apos;t allow me to transfer files over $a[MTP] any more.
		If I want to copy files onto or off of the device, I have to turn off the device, remove the $a[SD] card, and put the $a[SD] card into my laptop to add or remove the files from there.
		What a pain.
	</p>
</section>
END
);
